﻿using ReflectionStudio.Components.UserControls;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace WPFExcelReport
{
    public partial class MainWindow : DocumentBase
    {
        VVAART vm;
        public MainWindow()
        {
            vm = new VVAART();
            DataContext = vm;
            InitializeComponent();  
            this.Name = "面料管理"; 
        }
        ViewBase ui;
        public override void OnWorkflowIDChange(string wfid)
        {
            base.OnWorkflowIDChange(wfid);
            switch (wfid)
            { 
                case "DVA02":
                    MainTab.Children.Clear();
                    ui = new TDVA02();
                    MainTab.Children.Add(ui);
                    break;
            }
        }
          
        private void Window_Loaded(object sender, RoutedEventArgs e)
        { 
            
        } 
        
    }
}
